﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BasicEvents
{
    /// <summary>
    /// Event Arguments with string Message
    /// </summary>
    public class MessageEventArgs: EventArgs
    {
        #region Properties
        /// <summary>
        /// Gets and sets a message
        /// </summary>
        public string Message
        { get; set; }
        #endregion

        #region Constructors
        /// <summary>
        /// Basic Contrustor calling the base one
        /// </summary>
        public MessageEventArgs():base()
        {
        }
        /// <summary>
        /// Full constructor with all the propeties of the class filled
        /// </summary>
        /// <param name="message"></param>
        public MessageEventArgs(string message)
            : this()
        {
            this.Message = message;
        }
        #endregion
    }
}
